package news.biz;

import news.dao.UserDao;
import news.dao.empl.UserDaoImpl;
import news.entity.User;

public class UserBiz {
	UserDao userDao=new UserDaoImpl();
	
	public boolean userRegister(User user){
		return userDao.userRegister(user);
	}
	
	public User userLogin(String username,String userpwd){
		return userDao.userLogin(username, userpwd);
	}
}
